home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / OptionsSslPage.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  2KB  |  64 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #pragma once
  20. #include "afxwin.h"
  21.  
  22. class COptionsSslPage : public COptionsPage
  23. {
  24. public:
  25.     COptionsSslPage(COptionsDlg *pOptionsDlg, CWnd* pParent = NULL);
  26.     virtual ~COptionsSslPage();
  27.  
  28.     enum { IDD = IDD_OPTIONS_SSL };
  29.  
  30.     virtual BOOL IsDataValid();
  31.     virtual void SaveData();
  32.     virtual void LoadData();
  33.  
  34. protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);
  36.  
  37.     DECLARE_MESSAGE_MAP()
  38. protected:
  39.     BOOL m_enabled;
  40.     BOOL m_allowExplicit;
  41.     BOOL m_forceExplicit;
  42.     BOOL m_forceProtP;
  43.     CString m_certificate;
  44.     CString m_key;
  45.     CString m_pass;
  46.     CString m_sslports;
  47.     CButton m_cAllowExplicit;
  48.     CButton m_cForceExplicit;
  49.     CButton m_cForceProtP;
  50.     CEdit m_cCertificate;
  51.     CButton m_cCertificateBrowse;
  52.     
  53.     CEdit m_cKey;
  54.     CEdit m_cPass;
  55.     CButton m_cKeyBrowse;
  56.     CEdit m_cSslports;
  57.  
  58.     afx_msg void OnGenerate();
  59.     afx_msg void OnKeyBrowse();
  60.     afx_msg void OnCertificateBrowse();
  61.     afx_msg void OnEnableSsl();
  62.     virtual BOOL OnInitDialog();
  63. };
  64.